import request from "@/network/request";

export function getRoomList() {
  return request({
    url: '/room',
    method: 'get'
  })
}

export function getSingleRoomList() {
  return request({
    url: '/room?type=single',
    method: 'get'
  })
}

export function getDoubleRoomList() {
  return request({
    url: '/room?type=double',
    method: 'get'
  })
}

export function getMoreRoomList() {
  return request({
    url: '/room?type=more',
    method: 'get'
  })
}

export function getRoomCount() {
  return request({
    url: '/room/count',
    method: 'get'
  })
}
